package com.keba.lamp.complaint.vo.update;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 表单修改方法VO
 * 原告信息
 * </p>
 *
 * @author chaowu.wang
 * @date 2025-03-29 23:52:19
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "原告信息")
public class PlaintffUpdateVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    private Long id;

    /**
     * 电话号码
     */
    @Schema(description = "电话号码")
    @Size(max = 100, message = "电话号码长度不能超过{max}")
    private String mobile;

    /**
     * 案子id
     */
    @Schema(description = "案子id")
    private Long caseId;

    /**
     * 原告汇总信息
     */
    @Schema(description = "原告身份文件")
    @Size(min = 1, message = "请上传原告身份文件")
    private List<Long> fileIdList;


}
